import java.util.Calendar;
import java.util.Date;

import com.sun.jmx.snmp.Timestamp;

public class test4 {
	public static void changeStr(String str) {
		str = "welcome";
	}

	public static void main(String[] args) {

		Date d = new Date(2007, 11, 20);
		Timestamp t = new Timestamp(System.currentTimeMillis());

		// SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd");
		// Date date=null;
		// try {
		// date = sf.parse("2007-11-21");
		// } catch (ParseException e) {
		// e.printStackTrace();
		// }
		Calendar c = Calendar.getInstance();
		c.setTimeInMillis(System.currentTimeMillis());
		c.setFirstDayOfWeek(Calendar.MONDAY);

		c.add(Calendar.DATE, -(c.get(Calendar.DATE) - 1));

		int qt = c.get(Calendar.DAY_OF_WEEK) - 1;
		
	}
}
